local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1
L0_1 = {}
L0_1.group_id = 240030002
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2001
L2_1.monster_id = 21010201
L3_1 = {}
L3_1.x = 526.01
L3_1.y = -1.921
L3_1.z = 245.618
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 150.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L4_1 = 1007
L5_1 = 1008
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.affix = L3_1
L3_1 = {}
L3_1.config_id = 2002
L3_1.monster_id = 21010201
L4_1 = {}
L4_1.x = 538.639
L4_1.y = -1.983
L4_1.z = 234.985
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 240.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L5_1 = 1007
L6_1 = 1008
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.affix = L4_1
L4_1 = {}
L4_1.config_id = 2003
L4_1.monster_id = 21010701
L5_1 = {}
L5_1.x = 527.037
L5_1.y = -1.983
L5_1.z = 234.897
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 120.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L6_1 = 1007
L7_1 = 1008
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.affix = L5_1
L5_1 = {}
L5_1.config_id = 2004
L5_1.monster_id = 21010201
L6_1 = {}
L6_1.x = 538.729
L6_1.y = -1.953
L6_1.z = 245.587
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 210.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L7_1 = 1007
L8_1 = 1008
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.affix = L6_1
L6_1 = {}
L6_1.config_id = 2005
L6_1.monster_id = 21010201
L7_1 = {}
L7_1.x = 525.977
L7_1.y = -1.984
L7_1.z = 242.19
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 150.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L8_1 = 1007
L9_1 = 1008
L7_1[1] = L8_1
L7_1[2] = L9_1
L6_1.affix = L7_1
L7_1 = {}
L7_1.config_id = 2006
L7_1.monster_id = 21010201
L8_1 = {}
L8_1.x = 538.589
L8_1.y = -1.984
L8_1.z = 237.988
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 210.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L9_1 = 1007
L10_1 = 1008
L8_1[1] = L9_1
L8_1[2] = L10_1
L7_1.affix = L8_1
L8_1 = {}
L8_1.config_id = 2007
L8_1.monster_id = 21010201
L9_1 = {}
L9_1.x = 526.619
L9_1.y = -1.984
L9_1.z = 238.006
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 150.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L10_1 = 1007
L11_1 = 1008
L9_1[1] = L10_1
L9_1[2] = L11_1
L8_1.affix = L9_1
L9_1 = {}
L9_1.config_id = 2008
L9_1.monster_id = 21010201
L10_1 = {}
L10_1.x = 538.772
L10_1.y = -1.984
L10_1.z = 242.009
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 210.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L11_1 = 1007
L12_1 = 1008
L10_1[1] = L11_1
L10_1[2] = L12_1
L9_1.affix = L10_1
L10_1 = {}
L10_1.config_id = 2009
L10_1.monster_id = 21010701
L11_1 = {}
L11_1.x = 530.294
L11_1.y = -1.983
L11_1.z = 245.781
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 180.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L12_1 = 1007
L13_1 = 1008
L11_1[1] = L12_1
L11_1[2] = L13_1
L10_1.affix = L11_1
L11_1 = {}
L11_1.config_id = 2010
L11_1.monster_id = 21010201
L12_1 = {}
L12_1.x = 535.41
L12_1.y = -2.056
L12_1.z = 245.817
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 180.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L13_1 = 1007
L14_1 = 1008
L12_1[1] = L13_1
L12_1[2] = L14_1
L11_1.affix = L12_1
L12_1 = {}
L12_1.config_id = 2011
L12_1.monster_id = 21010201
L13_1 = {}
L13_1.x = 532.987
L13_1.y = -1.984
L13_1.z = 247.991
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 180.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L14_1 = 1007
L15_1 = 1008
L13_1[1] = L14_1
L13_1[2] = L15_1
L12_1.affix = L13_1
L13_1 = {}
L13_1.config_id = 2012
L13_1.monster_id = 21010201
L14_1 = {}
L14_1.x = 526.133
L14_1.y = -1.983
L14_1.z = 245.317
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 150.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L15_1 = 1007
L16_1 = 1008
L14_1[1] = L15_1
L14_1[2] = L16_1
L13_1.affix = L14_1
L14_1 = {}
L14_1.config_id = 2013
L14_1.monster_id = 21010201
L15_1 = {}
L15_1.x = 538.605
L15_1.y = -1.983
L15_1.z = 245.325
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 210.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L16_1 = 1007
L17_1 = 1008
L15_1[1] = L16_1
L15_1[2] = L17_1
L14_1.affix = L15_1
L15_1 = {}
L15_1.config_id = 2014
L15_1.monster_id = 21010201
L16_1 = {}
L16_1.x = 527.27
L16_1.y = -1.983
L16_1.z = 235.124
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 90.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L17_1 = 1007
L18_1 = 1008
L16_1[1] = L17_1
L16_1[2] = L18_1
L15_1.affix = L16_1
L16_1 = {}
L16_1.config_id = 2015
L16_1.monster_id = 21010201
L17_1 = {}
L17_1.x = 538.228
L17_1.y = -1.983
L17_1.z = 235.061
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 270.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L18_1 = 1007
L19_1 = 1008
L17_1[1] = L18_1
L17_1[2] = L19_1
L16_1.affix = L17_1
L17_1 = {}
L17_1.config_id = 2016
L17_1.monster_id = 21010701
L18_1 = {}
L18_1.x = 526.504
L18_1.y = -1.984
L18_1.z = 242.149
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 150.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L19_1 = 1007
L20_1 = 1008
L18_1[1] = L19_1
L18_1[2] = L20_1
L17_1.affix = L18_1
L18_1 = {}
L18_1.config_id = 2017
L18_1.monster_id = 21010201
L19_1 = {}
L19_1.x = 538.587
L19_1.y = -1.984
L19_1.z = 238.511
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 210.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L20_1 = 1007
L21_1 = 1008
L19_1[1] = L20_1
L19_1[2] = L21_1
L18_1.affix = L19_1
L19_1 = {}
L19_1.config_id = 2018
L19_1.monster_id = 21010201
L20_1 = {}
L20_1.x = 527.056
L20_1.y = -1.984
L20_1.z = 238.152
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 150.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L21_1 = 1007
L22_1 = 1008
L20_1[1] = L21_1
L20_1[2] = L22_1
L19_1.affix = L20_1
L20_1 = {}
L20_1.config_id = 2019
L20_1.monster_id = 21010201
L21_1 = {}
L21_1.x = 538.497
L21_1.y = -1.984
L21_1.z = 241.787
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 210.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L22_1 = 1007
L23_1 = 1008
L21_1[1] = L22_1
L21_1[2] = L23_1
L20_1.affix = L21_1
L21_1 = {}
L21_1.config_id = 2020
L21_1.monster_id = 21010201
L22_1 = {}
L22_1.x = 533.403
L22_1.y = -1.984
L22_1.z = 248.661
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 180.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L23_1 = 1007
L24_1 = 1008
L22_1[1] = L23_1
L22_1[2] = L24_1
L21_1.affix = L22_1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 2024
L2_1.gadget_id = 70900205
L3_1 = {}
L3_1.x = 528.261
L3_1.y = -2.765
L3_1.z = 242.811
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L1_1[1] = L2_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1002021
L2_1.name = "ANY_MONSTER_LIVE_2021"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_LIVE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_2021"
L2_1.action = "action_EVENT_ANY_MONSTER_LIVE_2021"
L3_1 = {}
L3_1.config_id = 1002022
L3_1.name = "CHALLENGE_FAIL_2022"
L4_1 = EventType
L4_1 = L4_1.EVENT_CHALLENGE_FAIL
L3_1.event = L4_1
L3_1.source = "110107"
L3_1.condition = ""
L3_1.action = "action_EVENT_CHALLENGE_FAIL_2022"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1002023
L4_1.name = "CHALLENGE_SUCCESS_2023"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_SUCCESS
L4_1.event = L5_1
L4_1.source = "110107"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_SUCCESS_2023"
L4_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 2024
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_LIVE_2021"
L5_1 = "CHALLENGE_FAIL_2022"
L6_1 = "CHALLENGE_SUCCESS_2023"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 2001
L6_1 = 2002
L7_1 = 2003
L8_1 = 2004
L9_1 = 2005
L10_1 = 2006
L11_1 = 2007
L12_1 = 2008
L13_1 = 2009
L14_1 = 2010
L15_1 = 2011
L16_1 = 2012
L17_1 = 2013
L18_1 = 2014
L19_1 = 2015
L20_1 = 2016
L21_1 = 2017
L22_1 = 2018
L23_1 = 2019
L24_1 = 2020
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L4_1[11] = L15_1
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L4_1[17] = L21_1
L4_1[18] = L22_1
L4_1[19] = L23_1
L4_1[20] = L24_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 2024
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 2024
L5_1[1] = L6_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 2001 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_2021 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateFatherChallenge
  L3_2 = A0_2
  L4_2 = 110107
  L5_2 = 110107
  L6_2 = 90
  L7_2 = {}
  L7_2.success = 2
  L7_2.fail = 1
  L7_2.fail_on_wipe = true
  L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.AttachChildChallenge
  L3_2 = A0_2
  L4_2 = 110107
  L5_2 = 110108
  L6_2 = 110108
  L7_2 = {}
  L8_2 = 24000
  L9_2 = 0
  L10_2 = 0
  L11_2 = 0
  L7_2[1] = L8_2
  L7_2[2] = L9_2
  L7_2[3] = L10_2
  L7_2[4] = L11_2
  L8_2 = {}
  L9_2 = {}
  L9_2.success = 1
  L9_2.fail = 1
  L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.AttachChildChallenge
  L3_2 = A0_2
  L4_2 = 110107
  L5_2 = 110109
  L6_2 = 110109
  L7_2 = {}
  L8_2 = 7
  L9_2 = 20
  L10_2 = 0
  L11_2 = 0
  L7_2[1] = L8_2
  L7_2[2] = L9_2
  L7_2[3] = L10_2
  L7_2[4] = L11_2
  L8_2 = {}
  L9_2 = {}
  L9_2.success = 1
  L9_2.fail = 1
  L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.StartFatherChallenge
  L3_2 = A0_2
  L4_2 = 110107
  L2_2(L3_2, L4_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_2021 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 240030002
  L4_2.suite = 1
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 240030001
  L4_2.suite = 1
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_FAIL_2022 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 240030001
  L5_2 = 1001
  L6_2 = GadgetState
  L6_2 = L6_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 240030002
  L4_2.suite = 3
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_2023 = L1_1
